Optimal. Leaf size=145 \[ \frac {35 e^3 \sqrt {d+e x}}{8 b^4}-\frac {35 e^2 (d+e x)^{3/2}}{24 b^3 (a+b x)}-\frac {7 e (d+e x)^{5/2}}{12 b^2 (a+b x)^2}-\frac {(d+e x)^{7/2}}{3 b (a+b x)^3}-\frac {35 e^3 \sqrt {b d-a e} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {b d-a e}}\right )}{8 b^{9/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 145, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 5, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.179, Rules used = {27, 43, 52, 65,
214} \begin {gather*} -\frac {35 e^3 \sqrt {b d-a e} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {b d-a e}}\right )}{8 b^{9/2}}-\frac {35 e^2 (d+e x)^{3/2}}{24 b^3 (a+b x)}-\frac {7 e (d+e x)^{5/2}}{12 b^2 (a+b x)^2}-\frac {(d+e x)^{7/2}}{3 b (a+b x)^3}+\frac {35 e^3 \sqrt {d+e x}}{8 b^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 43
Rule 52
Rule 65
Rule 214
Rubi steps
\begin {align*} \int \frac {(d+e x)^{7/2}}{\left (a^2+2 a b x+b^2 x^2\right )^2} \, dx &=\int \frac {(d+e x)^{7/2}}{(a+b x)^4} \, dx\\ &=-\frac {(d+e x)^{7/2}}{3 b (a+b x)^3}+\frac {(7 e) \int \frac {(d+e x)^{5/2}}{(a+b x)^3} \, dx}{6 b}\\ &=-\frac {7 e (d+e x)^{5/2}}{12 b^2 (a+b x)^2}-\frac {(d+e x)^{7/2}}{3 b (a+b x)^3}+\frac {\left (35 e^2\right ) \int \frac {(d+e x)^{3/2}}{(a+b x)^2} \, dx}{24 b^2}\\ &=-\frac {35 e^2 (d+e x)^{3/2}}{24 b^3 (a+b x)}-\frac {7 e (d+e x)^{5/2}}{12 b^2 (a+b x)^2}-\frac {(d+e x)^{7/2}}{3 b (a+b x)^3}+\frac {\left (35 e^3\right ) \int \frac {\sqrt {d+e x}}{a+b x} \, dx}{16 b^3}\\ &=\frac {35 e^3 \sqrt {d+e x}}{8 b^4}-\frac {35 e^2 (d+e x)^{3/2}}{24 b^3 (a+b x)}-\frac {7 e (d+e x)^{5/2}}{12 b^2 (a+b x)^2}-\frac {(d+e x)^{7/2}}{3 b (a+b x)^3}+\frac {\left (35 e^3 (b d-a e)\right ) \int \frac {1}{(a+b x) \sqrt {d+e x}} \, dx}{16 b^4}\\ &=\frac {35 e^3 \sqrt {d+e x}}{8 b^4}-\frac {35 e^2 (d+e x)^{3/2}}{24 b^3 (a+b x)}-\frac {7 e (d+e x)^{5/2}}{12 b^2 (a+b x)^2}-\frac {(d+e x)^{7/2}}{3 b (a+b x)^3}+\frac {\left (35 e^2 (b d-a e)\right ) \text {Subst}\left (\int \frac {1}{a-\frac {b d}{e}+\frac {b x^2}{e}} \, dx,x,\sqrt {d+e x}\right )}{8 b^4}\\ &=\frac {35 e^3 \sqrt {d+e x}}{8 b^4}-\frac {35 e^2 (d+e x)^{3/2}}{24 b^3 (a+b x)}-\frac {7 e (d+e x)^{5/2}}{12 b^2 (a+b x)^2}-\frac {(d+e x)^{7/2}}{3 b (a+b x)^3}-\frac {35 e^3 \sqrt {b d-a e} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {b d-a e}}\right )}{8 b^{9/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.63, size = 160, normalized size = 1.10 \begin {gather*} -\frac {\sqrt {d+e x} \left (-105 a^3 e^3+35 a^2 b e^2 (d-8 e x)+7 a b^2 e \left (2 d^2+14 d e x-33 e^2 x^2\right )+b^3 \left (8 d^3+38 d^2 e x+87 d e^2 x^2-48 e^3 x^3\right )\right )}{24 b^4 (a+b x)^3}-\frac {35 e^3 \sqrt {-b d+a e} \tan ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {-b d+a e}}\right )}{8 b^{9/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.73, size = 185, normalized size = 1.28
method | result | size |
derivativedivides | \(2 e^{3} \left (\frac {\sqrt {e x +d}}{b^{4}}-\frac {\frac {\left (-\frac {29}{16} a \,b^{2} e +\frac {29}{16} b^{3} d \right ) \left (e x +d \right )^{\frac {5}{2}}-\frac {17 b \left (a^{2} e^{2}-2 a b d e +b^{2} d^{2}\right ) \left (e x +d \right )^{\frac {3}{2}}}{6}+\left (-\frac {19}{16} e^{3} a^{3}+\frac {57}{16} a^{2} b d \,e^{2}-\frac {57}{16} a \,b^{2} d^{2} e +\frac {19}{16} b^{3} d^{3}\right ) \sqrt {e x +d}}{\left (\left (e x +d \right ) b +a e -b d \right )^{3}}+\frac {35 \left (a e -b d \right ) \arctan \left (\frac {b \sqrt {e x +d}}{\sqrt {b \left (a e -b d \right )}}\right )}{16 \sqrt {b \left (a e -b d \right )}}}{b^{4}}\right )\) | \(185\) |
default | \(2 e^{3} \left (\frac {\sqrt {e x +d}}{b^{4}}-\frac {\frac {\left (-\frac {29}{16} a \,b^{2} e +\frac {29}{16} b^{3} d \right ) \left (e x +d \right )^{\frac {5}{2}}-\frac {17 b \left (a^{2} e^{2}-2 a b d e +b^{2} d^{2}\right ) \left (e x +d \right )^{\frac {3}{2}}}{6}+\left (-\frac {19}{16} e^{3} a^{3}+\frac {57}{16} a^{2} b d \,e^{2}-\frac {57}{16} a \,b^{2} d^{2} e +\frac {19}{16} b^{3} d^{3}\right ) \sqrt {e x +d}}{\left (\left (e x +d \right ) b +a e -b d \right )^{3}}+\frac {35 \left (a e -b d \right ) \arctan \left (\frac {b \sqrt {e x +d}}{\sqrt {b \left (a e -b d \right )}}\right )}{16 \sqrt {b \left (a e -b d \right )}}}{b^{4}}\right )\) | \(185\) |
risch | \(\frac {2 e^{3} \sqrt {e x +d}}{b^{4}}+\frac {29 e^{4} \left (e x +d \right )^{\frac {5}{2}} a}{8 b^{2} \left (b e x +a e \right )^{3}}-\frac {29 e^{3} \left (e x +d \right )^{\frac {5}{2}} d}{8 b \left (b e x +a e \right )^{3}}+\frac {17 e^{5} \left (e x +d \right )^{\frac {3}{2}} a^{2}}{3 b^{3} \left (b e x +a e \right )^{3}}-\frac {34 e^{4} \left (e x +d \right )^{\frac {3}{2}} a d}{3 b^{2} \left (b e x +a e \right )^{3}}+\frac {17 e^{3} \left (e x +d \right )^{\frac {3}{2}} d^{2}}{3 b \left (b e x +a e \right )^{3}}+\frac {19 e^{6} \sqrt {e x +d}\, a^{3}}{8 b^{4} \left (b e x +a e \right )^{3}}-\frac {57 e^{5} \sqrt {e x +d}\, a^{2} d}{8 b^{3} \left (b e x +a e \right )^{3}}+\frac {57 e^{4} \sqrt {e x +d}\, a \,d^{2}}{8 b^{2} \left (b e x +a e \right )^{3}}-\frac {19 e^{3} \sqrt {e x +d}\, d^{3}}{8 b \left (b e x +a e \right )^{3}}-\frac {35 e^{4} \arctan \left (\frac {b \sqrt {e x +d}}{\sqrt {b \left (a e -b d \right )}}\right ) a}{8 b^{4} \sqrt {b \left (a e -b d \right )}}+\frac {35 e^{3} \arctan \left (\frac {b \sqrt {e x +d}}{\sqrt {b \left (a e -b d \right )}}\right ) d}{8 b^{3} \sqrt {b \left (a e -b d \right )}}\) | \(352\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.46, size = 466, normalized size = 3.21 \begin {gather*} \left [\frac {105 \, {\left (b^{3} x^{3} + 3 \, a b^{2} x^{2} + 3 \, a^{2} b x + a^{3}\right )} \sqrt {\frac {b d - a e}{b}} e^{3} \log \left (\frac {2 \, b d - 2 \, \sqrt {x e + d} b \sqrt {\frac {b d - a e}{b}} + {\left (b x - a\right )} e}{b x + a}\right ) - 2 \, {\left (8 \, b^{3} d^{3} - {\left (48 \, b^{3} x^{3} + 231 \, a b^{2} x^{2} + 280 \, a^{2} b x + 105 \, a^{3}\right )} e^{3} + {\left (87 \, b^{3} d x^{2} + 98 \, a b^{2} d x + 35 \, a^{2} b d\right )} e^{2} + 2 \, {\left (19 \, b^{3} d^{2} x + 7 \, a b^{2} d^{2}\right )} e\right )} \sqrt {x e + d}}{48 \, {\left (b^{7} x^{3} + 3 \, a b^{6} x^{2} + 3 \, a^{2} b^{5} x + a^{3} b^{4}\right )}}, -\frac {105 \, {\left (b^{3} x^{3} + 3 \, a b^{2} x^{2} + 3 \, a^{2} b x + a^{3}\right )} \sqrt {-\frac {b d - a e}{b}} \arctan \left (-\frac {\sqrt {x e + d} b \sqrt {-\frac {b d - a e}{b}}}{b d - a e}\right ) e^{3} + {\left (8 \, b^{3} d^{3} - {\left (48 \, b^{3} x^{3} + 231 \, a b^{2} x^{2} + 280 \, a^{2} b x + 105 \, a^{3}\right )} e^{3} + {\left (87 \, b^{3} d x^{2} + 98 \, a b^{2} d x + 35 \, a^{2} b d\right )} e^{2} + 2 \, {\left (19 \, b^{3} d^{2} x + 7 \, a b^{2} d^{2}\right )} e\right )} \sqrt {x e + d}}{24 \, {\left (b^{7} x^{3} + 3 \, a b^{6} x^{2} + 3 \, a^{2} b^{5} x + a^{3} b^{4}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 248 vs.
\(2 (122) = 244\).
time = 1.08, size = 248, normalized size = 1.71 \begin {gather*} \frac {35 \, {\left (b d e^{3} - a e^{4}\right )} \arctan \left (\frac {\sqrt {x e + d} b}{\sqrt {-b^{2} d + a b e}}\right )}{8 \, \sqrt {-b^{2} d + a b e} b^{4}} + \frac {2 \, \sqrt {x e + d} e^{3}}{b^{4}} - \frac {87 \, {\left (x e + d\right )}^{\frac {5}{2}} b^{3} d e^{3} - 136 \, {\left (x e + d\right )}^{\frac {3}{2}} b^{3} d^{2} e^{3} + 57 \, \sqrt {x e + d} b^{3} d^{3} e^{3} - 87 \, {\left (x e + d\right )}^{\frac {5}{2}} a b^{2} e^{4} + 272 \, {\left (x e + d\right )}^{\frac {3}{2}} a b^{2} d e^{4} - 171 \, \sqrt {x e + d} a b^{2} d^{2} e^{4} - 136 \, {\left (x e + d\right )}^{\frac {3}{2}} a^{2} b e^{5} + 171 \, \sqrt {x e + d} a^{2} b d e^{5} - 57 \, \sqrt {x e + d} a^{3} e^{6}}{24 \, {\left ({\left (x e + d\right )} b - b d + a e\right )}^{3} b^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.69, size = 303, normalized size = 2.09 \begin {gather*} \frac {\sqrt {d+e\,x}\,\left (\frac {19\,a^3\,e^6}{8}-\frac {57\,a^2\,b\,d\,e^5}{8}+\frac {57\,a\,b^2\,d^2\,e^4}{8}-\frac {19\,b^3\,d^3\,e^3}{8}\right )+\left (\frac {29\,a\,b^2\,e^4}{8}-\frac {29\,b^3\,d\,e^3}{8}\right )\,{\left (d+e\,x\right )}^{5/2}+{\left (d+e\,x\right )}^{3/2}\,\left (\frac {17\,a^2\,b\,e^5}{3}-\frac {34\,a\,b^2\,d\,e^4}{3}+\frac {17\,b^3\,d^2\,e^3}{3}\right )}{b^7\,{\left (d+e\,x\right )}^3-\left (3\,b^7\,d-3\,a\,b^6\,e\right )\,{\left (d+e\,x\right )}^2+\left (d+e\,x\right )\,\left (3\,a^2\,b^5\,e^2-6\,a\,b^6\,d\,e+3\,b^7\,d^2\right )-b^7\,d^3+a^3\,b^4\,e^3-3\,a^2\,b^5\,d\,e^2+3\,a\,b^6\,d^2\,e}+\frac {2\,e^3\,\sqrt {d+e\,x}}{b^4}-\frac {35\,e^3\,\mathrm {atan}\left (\frac {\sqrt {b}\,e^3\,\sqrt {a\,e-b\,d}\,\sqrt {d+e\,x}}{a\,e^4-b\,d\,e^3}\right )\,\sqrt {a\,e-b\,d}}{8\,b^{9/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________